// 封装一个全局的过滤器
export const dataForm = (value, spe = '-') => {
  value = new Date(value)
  let y = value.getFullYear()
  let m = value.getMonth() + 1;
  let d = value.getDate();
  return `${y}${spe}${m}${spe}${d}`;
}